<template>
  <div class="dg-pading">
    <div class="dg-sear">
      <el-input v-model="input3" placeholder="请输入内容" size="small" class="input-with-select">
        <el-button slot="append" icon="el-icon-search" />
      </el-input>
      <div>
        <el-radio-group v-model="radio1" size="mini">
          <el-radio-button label="按照单数排序" />
          <el-radio-button label="按照评分排序" />
        </el-radio-group>
      </div>
    </div>
    <div>
      已经选择电工 <el-tag size="mini">钱多多</el-tag> <el-tag size="mini">钱多多</el-tag>
    </div>
    <ul class="dg-ul">
      <li>
        <el-checkbox v-model="checked">备选项</el-checkbox>
        <el-avatar class="dg-avatar" :size="60" src="https://empty" @error="errorHandler">
          <img src="https://cube.elemecdn.com/e/fd/0fc7d20532fdaf769a25683617711png.png">
        </el-avatar>
        <div class="dg-list-r">
          <div>
            <div>钱多多</div>
            <div>接单数1000</div>
            <div>
              <el-tag type="success" size="mini">标签二</el-tag>
              <el-tag type="info" size="mini">标签三</el-tag>
              <el-tag type="warning" size="mini">标签四</el-tag>
              <el-tag type="danger" size="mini">标签五</el-tag>
            </div>
          </div>
          <div>
            <div>9.0</div>
            <el-link type="primary">查看技能报告</el-link>
          </div>
        </div>
      </li>
    </ul>
  </div>
</template>
<script>
export default {
  data() {
    return {
      input3: '',
      radio1: ''
    }
  }
}
</script>
<style lang="scss" scoped>
.dg-pading{
  padding: 20px;
  border: 1px solid #cccccc;
}
.dg-sear{
    display: flex;
    justify-content: space-between;
    align-items: center;
    .input-with-select{
        width: 320px;
    }
}
.dg-ul{
    padding: 0;
    margin: 0;
    overflow-y: auto;
    max-height: 400px;
    &>li{
        list-style: none;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 10px 0;
        .dg-avatar{
            width: 60px;
            flex-shrink: 0;
        }
        .dg-list-r{
            width: calc(100% - 80px);
            margin-left: 20px;
            display: flex;
            justify-content: space-between;
        }
    }
}
</style>
